using System;
using UnityEngine;

namespace AssemblyCSharp
{
	public class MenuObject : MonoBehaviour
	{
		public GUITexture selectedBackground;
		
		public bool isQuit;
		public bool isStart;
		public bool isAbout;
		
		public MenuObject ()
		{
		}
		
		void OnMouseEnter() {
			
		}
		
		void OnMouseExit() {
			
		}
		
		void OnMouseDown() {
			// Quit game
			if(isQuit) {
				Application.Quit();
			}
			// About
			if(isAbout) {
				Application.LoadLevel(1);
			}
			// Start game
			if(isStart) {
				Application.LoadLevel(2);
			}
		}
	}
}

